using System;
using System.Collections.Generic;
using System.Text;

namespace LumiSoft.Net.MIME.Header
{
    /// <summary>
    /// Represents a MIME entiy header field generic value. This class is also base class for other header field values.
    /// </summary>
    public class MIME_HeaderFieldValue
    {
        private string m_Value = "";

        /// <summary>
        /// Default constructor.
        /// </summary>
        public MIME_HeaderFieldValue()
        {
        }


        #region Properties Implementation

        /// <summary>
        /// Gets or sets header field string value.
        /// </summary>
        public virtual string ValueString
        {
            get{ return m_Value; }

            set{
                if(value == null){
                    throw new ArgumentNullException("value");
                }

                m_Value = value; 
            }
        }

        #endregion

    }
}
